<div class="definewidth">
	<ul id="pagination_"></ul>
</div>
<input type="hidden" id="totalPage__" value="${pagination.totalPage }">
<input type="hidden" id="startPage" value="${pagination.page}">
<script type="text/javascript">
	$(function() {
		var _serialize = $("#listForm").serialize();
		if(_serialize&&_serialize.length>0){
			_serialize='&' + _serialize;
		}
		$('#pagination_').twbsPagination({
			totalPages : $("#totalPage__").val(),
			visiblePages : 10,
			first : '首页',
			prev : '上一页',
			next : '下一页',
			last : '尾页',
			onPageClick: function (event, page) {  
				findPageUser(_serialize,page);
	        }   
		});
	});
	
	
	function findPageUser(arg1,page){
		var num = $(".kindid").children('option:selected').val();
		ajaxFunction( "${path}/usercenter/user/findUserByPage?page="+page+"&pageSize="+num,arg1,'POST',"html",true,"dataBody");
	}
	
	function ajaxFunction(url,data,type,dataType,async,rootId){
		$.ajax({
			url : url,
			data: data,
			type : type,
			dataType : dataType,
			async : async,
			success:function(data){
				if(data!=null && data!=""){
					$("#"+rootId).html(data);
				}
			}
		});
	}
</script>